package com.lbj.mall.auth.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Data
public class UserLoginVo {
    @NotEmpty(message = "账号不能为空")
    private String account;
    @NotEmpty(message = "密码不能为空")
    @Size(min = 6, max = 18, message = "密码必须在6-18位之间")
    private String password;
}
